package com.hwl.lab.repository;

import com.hwl.lab.entity.Canhe;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;

public interface CanheRepository extends JpaRepository<Canhe,Long> {
    @Transactional
    Canhe findByCanheid(String canheid);
    @Transactional
    void deleteByCanheid(String canheid);
}
